﻿<UserControl x:Class="Monti.Docking.Controls.DockHintDisplay"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"
             Opacity="0.6" AllowDrop="True" IsHitTestVisible="True">
   <Grid>

      <Grid.RowDefinitions>
         <RowDefinition Height="0.5*" />
         <RowDefinition Height="0.5*" />
      </Grid.RowDefinitions>

      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="0.5*" />
         <ColumnDefinition Width="0.5*" />
      </Grid.ColumnDefinitions>

      <Border Grid.Row="{Binding Path=RectRow}"
              Grid.RowSpan="{Binding Path=RectRowSpan}"
              Grid.Column="{Binding Path=RectColumn}"
              Grid.ColumnSpan="{Binding Path=RectColumnSpan}"
              x:Name="_DockPositioner"
              BorderBrush="LightBlue"
              IsHitTestVisible="False"
              BorderThickness="5"
              Opacity="{Binding Path=DockHintOpacity}">
         <Rectangle Fill="DarkBlue" IsHitTestVisible="False" />
      </Border>

      <Image Source="pack://application:,,,/Monti;component/Images/DockHintTab.png"
             Width="88" Height="88" IsHitTestVisible="False"
              Grid.ColumnSpan="2" Grid.RowSpan="2"/>

   </Grid>
</UserControl>
